import request from '@/utils/request'

// 查询车辆省市前缀列表
export function listCharge_car_city_prefix(query) {
  return request({
    url: '/charge/charge_car_city_prefix/list',
    method: 'get',
    params: query
  })
}

// 查询车辆省市前缀详细
export function getCharge_car_city_prefix(id) {
  return request({
    url: '/charge/charge_car_city_prefix/' + id,
    method: 'get'
  })
}

// 新增车辆省市前缀
export function addCharge_car_city_prefix(data) {
  return request({
    url: '/charge/charge_car_city_prefix',
    method: 'post',
    data: data
  })
}

// 修改车辆省市前缀
export function updateCharge_car_city_prefix(data) {
  return request({
    url: '/charge/charge_car_city_prefix',
    method: 'put',
    data: data
  })
}

// 删除车辆省市前缀
export function delCharge_car_city_prefix(id) {
  return request({
    url: '/charge/charge_car_city_prefix/' + id,
    method: 'delete'
  })
}
